﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_MENU.cs
// 项目名称：Lovol 
// 创建时间：2011/9/21
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_MENU数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_MENU", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_MENU", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_MENU_Entity
	{
		#region 变量定义		
		///<summary>
		///菜单编号
		///</summary>
		private long _mENUID;
		///<summary>
		///菜单名称
		///</summary>
		private string _mENUNAME = String.Empty;
		///<summary>
		///英文名称
		///</summary>
		private string _eNGLISHNAME = String.Empty;
		///<summary>
		///上级菜单编号
		///</summary>
		private long? _pARENTMENUID = 0;
		///<summary>
		///排序顺序
		///</summary>
		private long? _sORTODER = 0;
		///<summary>
		///菜单类型
		///</summary>
		private long? _mENUTYPE = 0;
		///<summary>
		///菜单提示
		///</summary>
		private string _mENUPROMPT = String.Empty;
		///<summary>
		///页面路径
		///</summary>
		private string _pAGEPATH = String.Empty;
		///<summary>
		///页面名称
		///</summary>
		private string _pAGENAME = String.Empty;
		///<summary>
		///菜单状态
		///</summary>
		private long? _mENUSTATE = 0;
		///<summary>
		///新页面目标
		///</summary>
		private string _mENUTARGET = String.Empty;
		///<summary>
		///备注
		///</summary>
		private string _rEMARK = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_MENU_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///菜单编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_MENU")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public long MENUID
		{
			get {return _mENUID;}
			set { _mENUID = value; }
			
		}

		///<summary>
		///菜单名称
		///</summary>		
		public string MENUNAME
		{
			get {return _mENUNAME;}
			set {
					_mENUNAME = value;
				}
			
		}

		///<summary>
		///英文名称
		///</summary>		
		public string ENGLISHNAME
		{
			get {return _eNGLISHNAME;}
			set {
					_eNGLISHNAME = value;
				}
			
		}

		///<summary>
		///上级菜单编号
		///</summary>		
		public long? PARENTMENUID
		{
			get {return _pARENTMENUID;}
			set { _pARENTMENUID = value; }
			
		}

		///<summary>
		///排序顺序
		///</summary>		
		public long? SORTODER
		{
			get {return _sORTODER;}
			set { _sORTODER = value; }
			
		}

		///<summary>
		///菜单类型
		///</summary>		
		public long? MENUTYPE
		{
			get {return _mENUTYPE;}
			set { _mENUTYPE = value; }
			
		}

		///<summary>
		///菜单提示
		///</summary>		
		public string MENUPROMPT
		{
			get {return _mENUPROMPT;}
			set {
					_mENUPROMPT = value;
				}
			
		}

		///<summary>
		///页面路径
		///</summary>		
		public string PAGEPATH
		{
			get {return _pAGEPATH;}
			set {
					_pAGEPATH = value;
				}
			
		}

		///<summary>
		///页面名称
		///</summary>		
		public string PAGENAME
		{
			get {return _pAGENAME;}
			set {
					_pAGENAME = value;
				}
			
		}

		///<summary>
		///菜单状态
		///</summary>		
		public long? MENUSTATE
		{
			get {return _mENUSTATE;}
			set { _mENUSTATE = value; }
			
		}

		///<summary>
		///新页面目标
		///</summary>		
		public string MENUTARGET
		{
			get {return _mENUTARGET;}
			set {
					_mENUTARGET = value;
				}
			
		}

		///<summary>
		///备注
		///</summary>		
		public string REMARK
		{
			get {return _rEMARK;}
			set {
					_rEMARK = value;
				}
			
		}
		
		
		#endregion
		
	}
}
